package org.company.ci.services;

import org.company.ci.daos.UserDao;
import org.company.ci.domain.User;

public class UserService {
	
	private UserDao userDao;
	
	
	public User buscarUsuario(String username) throws Exception {
		return userDao.getBObyTextField(username, "username");
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

}
